package com.vic.kjlink.order.lookup;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.vic.kjlink.order.model.Orders;

/**
 * @author Vic.xu
 * @description: 订单查询条件
 * @date: 2021/9/13 0013 9:54
 */
public class OrdersLookup extends Orders {
    /**
     * 最后一餐
     */
    private Boolean latest;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    public Boolean getLatest() {
        return latest;
    }

    public void setLatest(Boolean latest) {
        this.latest = latest;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }
}
